﻿using Cmp.Web.Common;
using Cmp.Web.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cmp.Web.IRepository
{
    /// <summary>
    /// 排班数据接口
    /// </summary>
    public interface IScheTimeProvide
    {
        /// <summary>
        /// 根据科室编号查询科室排班信息
        /// </summary>
        /// <param name="DeptCode"></param>
        /// <param name="exception"></param>
        /// <returns></returns>
        Task<List<ScheInfo>> GetScheInfoListByDeptCode(string DeptCode, out ExceptionAll exception);
        /// <summary>
        /// 根据医生编号查询医生排班信息
        /// </summary>
        /// <param name="DoctorNum"></param>
        /// <param name="exception"></param>
        /// <returns></returns>
        Task<List<ScheInfo>> GetScheInfoListByDoctorNum(string DoctorNum, out ExceptionAll exception);
    }
}
